package com.ruoyi.seedlingSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批次管理对象 patch
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class Patch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 批次唯一标识 */
    private Long patchID;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String patchName;

    /** 批次描述 */
    @Excel(name = "批次描述")
    private String patchDescription;

    /** 批次图片 */
    @Excel(name = "批次图片")
    private String patchImage;

    /** 关联的种苗繁育记录ID */
    @Excel(name = "关联的种苗繁育记录ID")
    private Long patchZhongMiaoID;

    /** 关联的栽培记录ID */
    @Excel(name = "关联的栽培记录ID")
    private Long patchZaiPeiID;

    /** 关联的采收记录ID */
    @Excel(name = "关联的采收记录ID")
    private Long patchCaiShouID;

    /** 关联的加工记录ID */
    @Excel(name = "关联的加工记录ID")
    private Long patchJiaGongID;

    /** 关联的质量检测记录ID */
    @Excel(name = "关联的质量检测记录ID")
    private Long patchZhiLiJianCeID;

    public void setPatchID(Long patchID) 
    {
        this.patchID = patchID;
    }

    public Long getPatchID() 
    {
        return patchID;
    }
    public void setPatchName(String patchName) 
    {
        this.patchName = patchName;
    }

    public String getPatchName() 
    {
        return patchName;
    }
    public void setPatchDescription(String patchDescription) 
    {
        this.patchDescription = patchDescription;
    }

    public String getPatchDescription() 
    {
        return patchDescription;
    }
    public void setPatchImage(String patchImage) 
    {
        this.patchImage = patchImage;
    }

    public String getPatchImage() 
    {
        return patchImage;
    }
    public void setPatchZhongMiaoID(Long patchZhongMiaoID) 
    {
        this.patchZhongMiaoID = patchZhongMiaoID;
    }

    public Long getPatchZhongMiaoID() 
    {
        return patchZhongMiaoID;
    }
    public void setPatchZaiPeiID(Long patchZaiPeiID) 
    {
        this.patchZaiPeiID = patchZaiPeiID;
    }

    public Long getPatchZaiPeiID() 
    {
        return patchZaiPeiID;
    }
    public void setPatchCaiShouID(Long patchCaiShouID) 
    {
        this.patchCaiShouID = patchCaiShouID;
    }

    public Long getPatchCaiShouID() 
    {
        return patchCaiShouID;
    }
    public void setPatchJiaGongID(Long patchJiaGongID) 
    {
        this.patchJiaGongID = patchJiaGongID;
    }

    public Long getPatchJiaGongID() 
    {
        return patchJiaGongID;
    }
    public void setPatchZhiLiJianCeID(Long patchZhiLiJianCeID) 
    {
        this.patchZhiLiJianCeID = patchZhiLiJianCeID;
    }

    public Long getPatchZhiLiJianCeID() 
    {
        return patchZhiLiJianCeID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patchID", getPatchID())
            .append("patchName", getPatchName())
            .append("patchDescription", getPatchDescription())
            .append("patchImage", getPatchImage())
            .append("patchZhongMiaoID", getPatchZhongMiaoID())
            .append("patchZaiPeiID", getPatchZaiPeiID())
            .append("patchCaiShouID", getPatchCaiShouID())
            .append("patchJiaGongID", getPatchJiaGongID())
            .append("patchZhiLiJianCeID", getPatchZhiLiJianCeID())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
